package ex201;

public class Rectangle {
    double width;
    double height;

    double getPerimeter() {
        return 2 * (width + height);
    }

    double getArea() {
        return width * height;
    }
}
